﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<IEnumerable<JobDescOnline.Presentation.Models.RoleModel>>" %>

<% foreach (var item in Model) { %>
    <tr>
        <td align="center">
            <%: Html.ActionLink("Ubah", "Edit", new { id=item.ID }) %> |
            <%: Html.ActionLink("Hapus", "Delete", new { id = item.ID }, new { @onclick = "return confirm('Are you sure?')" })%>
        </td>
        <td><%: item.Rowstatus %></td>
        <td><%: item.RoleName %></td>
        <td><%: item.Description %></td>
        <td>
            <%: item.CreatedBy %><br />
            <%: String.Format("{0:g}", item.CreatedOn) %>
        </td>
        <td>
            <%: item.LastModifiedBy %><br />
            <%: String.Format("{0:g}", item.LastModifiedOn) %>
        </td>
    </tr>
<% } %>